package com.mo.axion.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @author Mo
 * @createTime 2024/2/3 12:11
 * @descripiton 发送Id的类型
 */
@Getter
@ToString
@AllArgsConstructor
public enum IdType implements PowerfulEnum {
    /**
     * 站内userId
     */
    USER_ID(10, "userId"),
    /**
     * 手机设备号
     */
    DID(20, "did"),
    /**
     * 手机号
     */
    PHONE(30, "phone"),
    /**
     * 微信体系的openId
     */
    OPEN_ID(40, "openId"),
    /**
     * 邮件
     */
    EMAIL(50, "email"),

    ;

    private final Integer code;
    private final String description;


}
